<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>aws-crt-cpp: /home/ANT.AMAZON.COM/dengket/doc/aws-crt-cpp/include/aws/crt/DateTime.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">aws-crt-cpp
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_076842b242c291358044feb169933571.html">aws</a></li><li class="navelem"><a class="el" href="dir_cc4322e4b2151c90adb7cd2e3f54423a.html">crt</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DateTime.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="DateTime_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;).</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * A copy of the License is located at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  http://aws.amazon.com/apache2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * or in the &quot;license&quot; file accompanying this file. This file is distributed</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * express or implied. See the License for the specific language governing</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * permissions and limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Exports_8h.html">aws/crt/Exports.h</a>&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160; </div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Types_8h.html">aws/crt/Types.h</a>&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;aws/common/date_time.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;chrono&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceAws.html">Aws</a></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;{</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    <span class="keyword">namespace </span>Crt</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    {</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">   28</a></span>&#160;        <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061ca7358b2797d40dfdfdd56164ffa094e35">RFC822</a> = AWS_DATE_FORMAT_RFC822,</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061ca65ca2300e9ec8a52677f98536998b8ce">ISO_8601</a> = AWS_DATE_FORMAT_ISO_8601,</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061ca10c84306f5bb51fdad714b1f2f4463cf">AutoDetect</a> = AWS_DATE_FORMAT_AUTO_DETECT,</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        };</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701">   35</a></span>&#160;        <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701">Month</a></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        {</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a86f5978d9b80124f509bdb71786e929e">January</a> = AWS_DATE_MONTH_JANUARY,</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a659e59f062c75f81259d22786d6c44aa">February</a> = AWS_DATE_MONTH_FEBRUARY,</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701afa3e5edac607a88d8fd7ecb9d6d67424">March</a> = AWS_DATE_MONTH_MARCH,</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a3fcf026bbfffb63fb24b8de9d0446949">April</a> = AWS_DATE_MONTH_APRIL,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a195fbb57ffe7449796d23466085ce6d8">May</a> = AWS_DATE_MONTH_MAY,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a688937ccaf2a2b0c45a1c9bbba09698d">June</a> = AWS_DATE_MONTH_JUNE,</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a1b539f6f34e8503c97f6d3421346b63c">July</a> = AWS_DATE_MONTH_JULY,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a41ba70891fb6f39327d8ccb9b1dafb84">August</a> = AWS_DATE_MONTH_AUGUST,</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701acc5d90569e1c8313c2b1c2aab1401174">September</a> = AWS_DATE_MONTH_SEPTEMBER,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701aeca60ae8611369fe28a02e2ab8c5d12e">October</a> = AWS_DATE_MONTH_OCTOBER,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a7e823b37564da492ca1629b4732289a8">November</a> = AWS_DATE_MONTH_NOVEMBER,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a82331503174acbae012b2004f6431fa5">December</a> = AWS_DATE_MONTH_DECEMBER,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        };</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895f">   51</a></span>&#160;        <span class="keyword">enum class</span> <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895f">DayOfWeek</a></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        {</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa9d1a0949c39e66a0cd65240bc0ac9177">Sunday</a> = AWS_DATE_DAY_OF_WEEK_SUNDAY,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa6f8522e0610541f1ef215a22ffa66ff6">Monday</a> = AWS_DATE_DAY_OF_WEEK_MONDAY,</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa5792315f09a5d54fb7e3d066672b507f">Tuesday</a> = AWS_DATE_DAY_OF_WEEK_TUESDAY,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa796c163589f295373e171842f37265d5">Wednesday</a> = AWS_DATE_DAY_OF_WEEK_WEDNESDAY,</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa78ae6f0cd191d25147e252dc54768238">Thursday</a> = AWS_DATE_DAY_OF_WEEK_THURSDAY,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fac33b138a163847cdb6caeeb7c9a126b4">Friday</a> = AWS_DATE_DAY_OF_WEEK_FRIDAY,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa8b7051187b9191cdcdae6ed5a10e5adc">Saturday</a> = AWS_DATE_DAY_OF_WEEK_SATURDAY,</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        };</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classAws_1_1Crt_1_1DateTime.html">   62</a></span>&#160;        <span class="keyword">class </span><a class="code" href="Exports_8h.html#a0a3f6c46aee6b588ce99a142cdb22d1d">AWS_CRT_CPP_API</a> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> final</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        {</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;          <span class="keyword">public</span>:</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>() noexcept;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>(<span class="keyword">const</span> std::chrono::system_clock::time_point &amp;timepointToAssign) noexcept;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>(uint64_t millisSinceEpoch) noexcept;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>(<span class="keywordtype">double</span> epoch_millis) noexcept;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *timestamp, <a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a> <a class="code" href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">format</a>) noexcept;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            <span class="keywordtype">bool</span> operator==(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <span class="keywordtype">bool</span> operator&lt;(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            <span class="keywordtype">bool</span> operator&gt;(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;            <span class="keywordtype">bool</span> operator!=(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;            <span class="keywordtype">bool</span> operator&lt;=(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            <span class="keywordtype">bool</span> operator&gt;=(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> operator+(<span class="keyword">const</span> std::chrono::milliseconds &amp;<a class="code" href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">a</a>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> operator-(<span class="keyword">const</span> std::chrono::milliseconds &amp;<a class="code" href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">a</a>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;operator=(<span class="keywordtype">double</span> secondsSinceEpoch) noexcept;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;operator=(uint64_t millisSinceEpoch) noexcept;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;operator=(<span class="keyword">const</span> std::chrono::system_clock::time_point &amp;timepointToAssign) noexcept;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;            <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;operator=(<span class="keyword">const</span> <span class="keywordtype">char</span> *timestamp) noexcept;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;            <span class="keyword">explicit</span> <span class="keyword">operator</span> bool() <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            <span class="keywordtype">int</span> GetLastError() <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;            <span class="keywordtype">bool</span> ToLocalTimeString(<a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a> <a class="code" href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">format</a>, <a class="code" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;outputBuf) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            <span class="keywordtype">bool</span> ToGmtString(<a class="code" href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">DateFormat</a> <a class="code" href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">format</a>, <a class="code" href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">ByteBuf</a> &amp;outputBuf) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            <span class="keywordtype">double</span> SecondsWithMSPrecision() <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;            uint64_t Millis() <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;            std::chrono::system_clock::time_point UnderlyingTimestamp() <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            uint16_t GetYear(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701">Month</a> GetMonth(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            uint8_t GetDay(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            <a class="code" href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895f">DayOfWeek</a> GetDayOfWeek(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;            uint8_t GetHour(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            uint8_t GetMinute(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;            uint8_t GetSecond(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160; </div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;            <span class="keywordtype">bool</span> IsDST(<span class="keywordtype">bool</span> localTime = <span class="keyword">false</span>) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;            <span class="keyword">static</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> Now() noexcept;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;            std::chrono::milliseconds operator-(<span class="keyword">const</span> <a class="code" href="classAws_1_1Crt_1_1DateTime.html">DateTime</a> &amp;other) <span class="keyword">const</span> noexcept;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;          <span class="keyword">private</span>:</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            aws_date_time m_date_time;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;            <span class="keywordtype">bool</span> m_good;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        };</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    } <span class="comment">// namespace Crt</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;} <span class="comment">// namespace Aws</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701acc5d90569e1c8313c2b1c2aab1401174"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701acc5d90569e1c8313c2b1c2aab1401174">Aws::Crt::Month::September</a></div><div class="ttdeci">@ September</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a1b539f6f34e8503c97f6d3421346b63c"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a1b539f6f34e8503c97f6d3421346b63c">Aws::Crt::Month::July</a></div><div class="ttdeci">@ July</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a195fbb57ffe7449796d23466085ce6d8"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a195fbb57ffe7449796d23466085ce6d8">Aws::Crt::Month::May</a></div><div class="ttdeci">@ May</div></div>
<div class="ttc" id="aTypes_8h_html"><div class="ttname"><a href="Types_8h.html">Types.h</a></div></div>
<div class="ttc" id="aExports_8h_html_a0a3f6c46aee6b588ce99a142cdb22d1d"><div class="ttname"><a href="Exports_8h.html#a0a3f6c46aee6b588ce99a142cdb22d1d">AWS_CRT_CPP_API</a></div><div class="ttdeci">#define AWS_CRT_CPP_API</div><div class="ttdef"><b>Definition:</b> Exports.h:34</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a82331503174acbae012b2004f6431fa5"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a82331503174acbae012b2004f6431fa5">Aws::Crt::Month::December</a></div><div class="ttdeci">@ December</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a659e59f062c75f81259d22786d6c44aa"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a659e59f062c75f81259d22786d6c44aa">Aws::Crt::Month::February</a></div><div class="ttdeci">@ February</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fa78ae6f0cd191d25147e252dc54768238"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa78ae6f0cd191d25147e252dc54768238">Aws::Crt::DayOfWeek::Thursday</a></div><div class="ttdeci">@ Thursday</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a688937ccaf2a2b0c45a1c9bbba09698d"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a688937ccaf2a2b0c45a1c9bbba09698d">Aws::Crt::Month::June</a></div><div class="ttdeci">@ June</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aa760a7d9714d6c28091c2b1cf7029876"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aa760a7d9714d6c28091c2b1cf7029876">Aws::Crt::ByteBuf</a></div><div class="ttdeci">aws_byte_buf ByteBuf</div><div class="ttdef"><b>Definition:</b> Types.h:43</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fa5792315f09a5d54fb7e3d066672b507f"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa5792315f09a5d54fb7e3d066672b507f">Aws::Crt::DayOfWeek::Tuesday</a></div><div class="ttdeci">@ Tuesday</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701aeca60ae8611369fe28a02e2ab8c5d12e"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701aeca60ae8611369fe28a02e2ab8c5d12e">Aws::Crt::Month::October</a></div><div class="ttdeci">@ October</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a5e400f1a0f711acffa367eda4d93061c"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061c">Aws::Crt::DateFormat</a></div><div class="ttdeci">DateFormat</div><div class="ttdef"><b>Definition:</b> DateTime.h:29</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a7e823b37564da492ca1629b4732289a8"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a7e823b37564da492ca1629b4732289a8">Aws::Crt::Month::November</a></div><div class="ttdeci">@ November</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895f"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895f">Aws::Crt::DayOfWeek</a></div><div class="ttdeci">DayOfWeek</div><div class="ttdef"><b>Definition:</b> DateTime.h:52</div></div>
<div class="ttc" id="anamespaceAws_html_a5b080fcf4aed7e14fb25c2638948af06"><div class="ttname"><a href="namespaceAws.html#a5b080fcf4aed7e14fb25c2638948af06">Aws::format</a></div><div class="ttdeci">p format</div><div class="ttdef"><b>Definition:</b> cJSON.cpp:1041</div></div>
<div class="ttc" id="anamespaceAws_html"><div class="ttname"><a href="namespaceAws.html">Aws</a></div><div class="ttdef"><b>Definition:</b> Api.h:25</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fa6f8522e0610541f1ef215a22ffa66ff6"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa6f8522e0610541f1ef215a22ffa66ff6">Aws::Crt::DayOfWeek::Monday</a></div><div class="ttdeci">@ Monday</div></div>
<div class="ttc" id="aExports_8h_html"><div class="ttname"><a href="Exports_8h.html">Exports.h</a></div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a5e400f1a0f711acffa367eda4d93061ca7358b2797d40dfdfdd56164ffa094e35"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061ca7358b2797d40dfdfdd56164ffa094e35">Aws::Crt::DateFormat::RFC822</a></div><div class="ttdeci">@ RFC822</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a3fcf026bbfffb63fb24b8de9d0446949"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a3fcf026bbfffb63fb24b8de9d0446949">Aws::Crt::Month::April</a></div><div class="ttdeci">@ April</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a41ba70891fb6f39327d8ccb9b1dafb84"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a41ba70891fb6f39327d8ccb9b1dafb84">Aws::Crt::Month::August</a></div><div class="ttdeci">@ August</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701afa3e5edac607a88d8fd7ecb9d6d67424"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701afa3e5edac607a88d8fd7ecb9d6d67424">Aws::Crt::Month::March</a></div><div class="ttdeci">@ March</div></div>
<div class="ttc" id="anamespaceAws_html_a63d22a0af7bbcae8152004baa4756a4d"><div class="ttname"><a href="namespaceAws.html#a63d22a0af7bbcae8152004baa4756a4d">Aws::a</a></div><div class="ttdeci">cJSON * a</div><div class="ttdef"><b>Definition:</b> cJSON.cpp:2081</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a5e400f1a0f711acffa367eda4d93061ca65ca2300e9ec8a52677f98536998b8ce"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061ca65ca2300e9ec8a52677f98536998b8ce">Aws::Crt::DateFormat::ISO_8601</a></div><div class="ttdeci">@ ISO_8601</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fac33b138a163847cdb6caeeb7c9a126b4"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fac33b138a163847cdb6caeeb7c9a126b4">Aws::Crt::DayOfWeek::Friday</a></div><div class="ttdeci">@ Friday</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_a5e400f1a0f711acffa367eda4d93061ca10c84306f5bb51fdad714b1f2f4463cf"><div class="ttname"><a href="namespaceAws_1_1Crt.html#a5e400f1a0f711acffa367eda4d93061ca10c84306f5bb51fdad714b1f2f4463cf">Aws::Crt::DateFormat::AutoDetect</a></div><div class="ttdeci">@ AutoDetect</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701a86f5978d9b80124f509bdb71786e929e"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701a86f5978d9b80124f509bdb71786e929e">Aws::Crt::Month::January</a></div><div class="ttdeci">@ January</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fa8b7051187b9191cdcdae6ed5a10e5adc"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa8b7051187b9191cdcdae6ed5a10e5adc">Aws::Crt::DayOfWeek::Saturday</a></div><div class="ttdeci">@ Saturday</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fa796c163589f295373e171842f37265d5"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa796c163589f295373e171842f37265d5">Aws::Crt::DayOfWeek::Wednesday</a></div><div class="ttdeci">@ Wednesday</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_aceed5cb5b58c971ed0503442659e895fa9d1a0949c39e66a0cd65240bc0ac9177"><div class="ttname"><a href="namespaceAws_1_1Crt.html#aceed5cb5b58c971ed0503442659e895fa9d1a0949c39e66a0cd65240bc0ac9177">Aws::Crt::DayOfWeek::Sunday</a></div><div class="ttdeci">@ Sunday</div></div>
<div class="ttc" id="anamespaceAws_1_1Crt_html_ac61790998f4b26a7441e38849a6e8701"><div class="ttname"><a href="namespaceAws_1_1Crt.html#ac61790998f4b26a7441e38849a6e8701">Aws::Crt::Month</a></div><div class="ttdeci">Month</div><div class="ttdef"><b>Definition:</b> DateTime.h:36</div></div>
<div class="ttc" id="aclassAws_1_1Crt_1_1DateTime_html"><div class="ttname"><a href="classAws_1_1Crt_1_1DateTime.html">Aws::Crt::DateTime</a></div><div class="ttdef"><b>Definition:</b> DateTime.h:63</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
